import 'package:flutter/material.dart';
import 'package:wheel_of_fortune/utils/utils.dart';

class AddressButton extends StatelessWidget {
  final onTap;
  final width;
  const AddressButton({this.onTap,this.width,Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 40,
      width: this.width,
      child: RaisedButton(
        padding: EdgeInsets.zero,
        onPressed: this.onTap,
        elevation: 0,
        color: whiteColor,
        child: Text(
          '+ Add Address',
          style: TextStyle(
            fontFamily: 'Avenir Next LT Pro',
            fontSize: 12.0,
            color: Color(0xFF0082E7),
          ),
        ),
        shape: RoundedRectangleBorder(
          borderRadius:
              BorderRadius.all(Radius.circular(20.0)),
        ),
      ),
    );
  }
}